home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFUNCS
/
FRMCONFI.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-03
|
621b
|
23 lines
/**************************************************************************
* FRMCONFI.C - The frm_confine() function.
*************************************************************************/
#include "gemfintl.h"
void frm_confine(ptree, boundrect)
register OBJECT *ptree;
GRECT *boundrect;
{
register GRECT *prect = (GRECT *)&ptree->ob_x;
if (ptree->ob_state & (OUTLINED|SHADOWED)) {
rc_gadjust(prect, 4, 4);
}
rc_confine(boundrect, prect);
if (ptree->ob_state & (OUTLINED|SHADOWED)) {
rc_gadjust(prect, -4, -4);
}
}